'use strict';
dataloaderApp.service  ('proxyService', [ '$rootScope', '$location', '$q', 'httpResource', function ($rootScope, $location, $q, httpResource) {
	return {
		save : function (proxy) {
			return httpResource.post ({url:'rest/proxy/setup', param: proxy});
		},

		get : function () {
			return httpResource.get ({url:'rest/proxy'});			
		},
		
	}
}]);
	